//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _SeqResRecord_h__
#define	_SeqResRecord_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "libraries.h"
#include "ConstantsPDB.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class SeqResRecord {
  
  private:
    
    int               serNum;
    char              chainID;
    int               numRes;
    
    TListE <String>*  resName;

    String*           toString;
    
  protected:
    
    void              CleanData (void);
    
  public:
    
    SeqResRecord ();
    SeqResRecord (const SeqResRecord&);
    SeqResRecord (const SeqResRecord*);

    ~SeqResRecord ();

    void              SerNum (int);
    void              ChainID (char);
    void              NumRes (int);
    void              ResName (TListE <String>*);
    
    int               SerNum (void);
    char              ChainID (void);
    int               NumRes (void);
    TListE <String>*  ResName (void);
    
    bool              ReadFromString (String*);
    bool              ReadFromString (char*);
    
    String*           ToString (void);  
    String*           ToStringSequence (void);  
    
    SeqResRecord operator= (const SeqResRecord&);
    
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//

